import {$http} from "@/config/request";

//getAppointmentInfo
export const  getAppointmentInfo = () => {
    return $http.get('/adminapi/aa_phone/getAppointmentInfo')
}
// getDetailsByDay
export const  getDetailsByDay = (date) => {
    return $http.get('/adminapi/aa_phone/getDetailsByDay', {date}, {
        isLoading: true,
    })
}
//submitAppointment
export const  submitAppointment = (data) => {
    return $http.post('/adminapi/aa_phone/submitAppointment',data, {
        isToast: true,
        message: '预约成功',
        isLoading: true,
    })
}
//getWxPhoneNumber
export const  getWxPhoneNumber = (data) => {
    return $http.post('/adminapi/aa_phone/getWxPhoneNumber', data)
}
